package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanghai
 * @since 2022-03-15
 */
@Data
@TableName("department")
@ApiModel(value="Department对象", description="")
public class Department {

    private static final long serialVersionUID=1L;

    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @TableField("Name")
    private String name;

    @TableField("ParentId")
    private Integer parentId;

    @TableField("Path")
    private String path;

    @TableField("SpId")
    private String spId;

}
